package com.bizmerce.rnd.oms.codemng.service;

import java.util.ArrayList;
import java.util.List;

/**
 * DeMinimis: 미소기준
 * 
 * @author hanmi8
 * 
 */
public class DeMinimisVO {

	/**
	 * 구분: 일반품목, 농수산물, 섬유류
	 */
	private String division;

	/**
	 * 미소기준 적용 기준(가격, 중량)
	 */
	private String type;

	/**
	 * 미소기준 허용 비율(%)
	 */
	private String availableRate;

	/**
	 * 적용여부
	 */
	private boolean apply;
	
	private List<ItemVO> items;

	public String getDivision() {
		return division;
	}

	public void setDivision(String division) {
		this.division = division;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public List<ItemVO> getItems() {
		return items;
	}

	public void setItems(List<ItemVO> items) {
		this.items = items;
	}

	public void addItme(ItemVO item) {
		if (this.items == null) {
			this.items = new ArrayList<ItemVO>();
		}
		items.add(item);
	}

	public boolean isApply() {
		return apply;
	}

	public void setApply(boolean apply) {
		this.apply = apply;
	}

	public String getAvailableRate() {
		return availableRate;
	}

	public void setAvailableRate(String availableRate) {
		this.availableRate = availableRate;
	}
}
